SPRITE FLIPPED

This command will return a one if the specified sprite has been flipped vertically, otherwise zero will be returned.

  Syntax
Return Integer=SPRITE FLIPPED(Sprite Number)
  Parameters
Sprite Number
Integer
The sprite number

  Returns

The command will return a one if the specified sprite has been flipped vertically, otherwise zero will be returned

  Description

The parameter should be specified using an integer value.

  Example Code
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
do
if sprite flipped(1)=1 then print "sprite has been flipped"
loop
end
  See also

SPRITE Commands Menu
Index